<?php
$ext_ini=parse_ini_file('data/ext.ini.php');
foreach($ext_ini as $name => $enabled){
	if($enabled==1&&is_file('ext/'.$name.'/index.php'))include 'ext/'.$name.'/index.php';
}unset($name,$enabled);
$init='_init';
foreach($ext_ini as $name => $enabled){
	$initfunc=$name.$init;
	if(function_exists($initfunc))$initfunc();
}
